import request from '@/utils/request'

// 查询水井水质分析简列表
export function listWell(query) {
  return request({
    url: '/Laboratory/well/list',
    method: 'get',
    params: query
  })
}

// 查询水井水质分析简详细
export function getWell(id) {
  return request({
    url: '/Laboratory/well/' + id,
    method: 'get'
  })
}

// 新增水井水质分析简
export function addWell(data) {
  return request({
    url: '/Laboratory/well',
    method: 'post',
    data: data
  })
}

// 修改水井水质分析简
export function updateWell(data) {
  return request({
    url: '/Laboratory/well',
    method: 'put',
    data: data
  })
}

// 删除水井水质分析简
export function delWell(id) {
  return request({
    url: '/Laboratory/well/' + id,
    method: 'delete'
  })
}
